Using a batch file, you can both log on to the resource and copy the file:
The Batch File would contain the following:
net use \\{dest-machine}\{destfolder} {password} /user:{username}
copy {file} \\{dest-machine}\{destfolder}
e.g.
net use \\Development\myfolder mypassword /user:Administrator
copy newfile.c \\development\myfolder