Moving a file from a windows Java application to a linux box -


i'm doing project has run on windows machine. application creates csv file , saves windows filesystem. way transfer file machine running linux directory selected user.

i not asking code (although if helps feel free :p ) asking more protocols use (ftp etc) , wether need take account such permissions in linux in experienced programming linux file systems.

thanks in advance :)

can windows machine see linux filesystem? there samba server running on linux machine? if so, can copy 1 filesystem other.

if not, can try scp or sftp need have keys setup. way use runtime.exec copy file using windows specific command utility.

if else fails, run java process on linux server , connect using sockets. windows client can write file socket , can written out linux server.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -