Sign in to follow this  
Followers 0
edda

Anyone good at VisalBasic.Net?

2 posts in this topic

Hi all! I'm trying to make a program that can copy a file some times every day... Right now it can only copy the file local whit a File Copy Method but now I wont to be able to copy it to a ftp server... but i'm not sure how to do this... I know I cant use the file copy method.... Should i use the FtpWebRequest? I have tried this but cant get it to work... I use Visual Basic.net 2005 (This post is a extension on my previus post "Software to copy files to a ftp" so any moderator Please feel free to delete that one...) Best Regards.

Share this post


Link to post
Share on other sites
aaahh I goth it now... It worked when used this... Dim remoteLOC As String = server & Path.GetFileName(file) My.Computer.Network.UploadFile(file, remoteLOC, "User", "Password", True, 500) if anybody wonts to know...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0