Write a text file which is uploaded, impossible?
I have uploaded a text file named "Text.txt", here is its link:
Now, i need to read and write data to this text file. To read, i may use some way, such as downloading it to my computer. But to Write into this file, i cannot find any clues.
I read some information about uploading by FPT, but this way is not possible in my software.
May you show me code to do this hope? Thanks very much.
You cannot open a file for editing across the internet. You must download it, alter it, and then put it back...
Thank you very much. I understand what you say, but how to put it back ?
Have you ever done any function like this? please show me some useful idea to upload overwrite the old text file. I use host fileden.com to upload. My matter is how to upload it by code.
Plz help me till then end.
Use your friends (yahoo, google, ask, answers, bing) to search for vb6 upload file, vb6 ftp upload, or any other keywords you can think of as there is a whole lot of code out there...
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Thank you very much. I'll try to do it by your useful ideas!
Sorry, i have problem with ChilkatUpload Active X
I followed the link which Hack gave to me:
and test it, but VB announced an error: "Active X can't creat object" at the line :
Set upload = New ChilkatUpload
Note: I downloaded ChilkatUpload.dll and added it into preferences of VB before testing it but it makes no changes - VB still anounces error.
wait... Although I didn't test that code successfully, but in the code, i don't find the code which will use to log in the upload host. You can use Upload.Password, but this Active X don't have "Upload.username". so I don't understand that if i have an account to log in, how can i log in the host before uploading files ?
I created an account in the host Fileden.com (which i usually use it).
---> Please test this code for me, i live in the country where the Information technology doesn't develop as the world.
---> Pro, Help me please !!!!!
By adey in forum VB Classic
Last Post: 03-12-2007, 10:54 AM
By ckwai85 in forum VB Classic
Last Post: 03-02-2007, 10:24 AM
By charligov in forum VB Classic
Last Post: 01-22-2007, 12:00 PM
By Tomer Cagan in forum ASP.NET
Last Post: 07-24-2001, 10:01 AM
By Gabriele in forum Java
Last Post: 05-03-2000, 04:38 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL